<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        /* body: margin->8px */
        div {
            color: red;
            /* 
                水平对齐
                center
                left
                right 
            */
            text-align: left;
            /* 
                首行文本缩进--->px
            */
            text-indent: 20px;
            /* 
                垂直居中(文本)
            */
            /* line-height: 50px; */
        }

        .div {
            /* 下划线 */
            text-decoration: underline;
            /* 上划线 */
            /* text-decoration: overline; */
            /* 删除线 */
            /* text-decoration: line-through; */
            /* 文本闪烁 */
            /* text-decoration: blink; */
            height: 50px;
            background: #ddd;
        }

        .box {
            width: 400px;
            height: 400px;
            border: 1px solid #ddd;
        }
    </style>
</head>
<body>
    <div>this is my test text</div>
    <a href="" style="text-decoration: none;">test line</a>


    <div class="div">设置文本修饰样式</div>


    <div class="box">
        <span>m</span>
        <!-- <img src="../20210908/images/diangong.jpg" alt=""> -->
    </div>

</body>
</html>